package com.feicheng.persistence.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author cailongyang
 * @since 2021-12-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class WxServer implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "w_id", type = IdType.AUTO)
    private Integer wId;

    /**
     * 微信公众号类型（D：订阅号；S: 服务号; Y: 应用号；P: 商户号）
     */
    private String wxType;

    /**
     * 公众号APPID
     */
    private String appId;

    /**
     * 微信公众号的密钥
     */
    private String accessKey;

    /**
     * 状态（1：可用； 0：禁用；）
     */
    private Boolean statu;

    /**
     * 删除FLG
     */
    private Boolean dFlg;

    private String merchantId;
    private String merchantSerialNo;
    private String merchantPrivateKeyStr;
    private String apiV3Key;
    private String payUrl;

    private String certV2;
    private String privateKeyV2;
    private String apiV2Key;


}
